package org.example.dao;

import org.example.entity.Material;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 物资Dao接口
 */
public interface MaterialDao {
    int insert(Connection conn,Material material) throws SQLException;

    boolean exists(Connection conn,Material material) throws SQLException;
}
